using System;
using System.Collections.Generic;
using System.Text;
using OgilvyOne.DALFactory;
using OgilvyOne.IDAL;
using OgilvyOne.Model;
using System.Collections;

namespace OgilvyOne.BLL
{
    public class MenuFunc
    {
        // Methods
        public void Delete(int iMF_UID)
        {
            OgilvyOne.DALFactory.MenuFunc.Create().Delete(iMF_UID);
        }

        public void DeleteMenuList(int iF_UID)
        {
            OgilvyOne.DALFactory.MenuFunc.Create().DeleteMenuList(iF_UID);
        }

        public string getMenuByFuncUID(string funcid)
        {
            return OgilvyOne.DALFactory.MenuFunc.Create().getMenuByFuncUID(funcid);
        }

        public IList getMenuFuncList()
        {
            return OgilvyOne.DALFactory.MenuFunc.Create().getMenuFuncList();
        }

        public IList getMenuFuncList(int funcid)
        {
            return OgilvyOne.DALFactory.MenuFunc.Create().getMenuFuncList(funcid);
        }

        public void Insert(MenuFuncInfo func)
        {
            OgilvyOne.DALFactory.MenuFunc.Create().Insert(func);
        }

        public void Update(MenuFuncInfo func)
        {
            OgilvyOne.DALFactory.MenuFunc.Create().Update(func);
        }

    }
}
